﻿using System;
using System.Collections.Generic;

namespace Rj.PersonnelVerification.Server.DataBaseContext.Entities
{
    /// <summary>
    /// 看诊记录退回信息
    /// </summary>
    public partial class MzysTbKzjlth
    {
        /// <summary>
        /// 就诊流水号
        /// </summary>
        public Guid Jzlsh { get; set; }
        /// <summary>
        /// 挂号流水号
        /// </summary>
        public Guid Ghlsh { get; set; }
        /// <summary>
        /// 挂号明细流水号
        /// </summary>
        public Guid Ghmxlsh { get; set; }
        /// <summary>
        /// 患者编号
        /// </summary>
        public Guid Hzbh { get; set; }
        /// <summary>
        /// 医生编码
        /// </summary>
        public short Ysbm { get; set; }
        /// <summary>
        /// 科室编码
        /// </summary>
        public int? Ksbm { get; set; }
        /// <summary>
        /// 首次看诊医生
        /// </summary>
        public short Sckzys { get; set; }
        /// <summary>
        /// 首次看诊日期
        /// </summary>
        public DateTime Sckzrq { get; set; }
        /// <summary>
        /// 最后看诊医生
        /// </summary>
        public short? Zhkzys { get; set; }
        /// <summary>
        /// 最后看诊日期
        /// </summary>
        public DateTime? Zhkzrq { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Bz { get; set; }
        /// <summary>
        /// 是否需要写病历
        /// </summary>
        public short? Sfxyxbl { get; set; }
        public byte[] Sjc { get; set; } = null!;
        /// <summary>
        /// 代配药标识
        /// </summary>
        public int? Dpybz { get; set; }
    }
}
